﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MyEartags.Zooid
{
    public class ZooidBuyDto
    {
        public int Id { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string? Document { get; set; }

        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime Purchasedate { get; set; } = DateTime.Now;

        /// <summary>
        /// 核算单元
        /// </summary>
        public string? Accountingunit { get; set; }

        /// <summary>
        /// 个体类别
        /// </summary>
        public string? Individualtype { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string? Supplier { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        public int Abstract { get; set; }

        /// <summary>
        /// 耳号主键
        /// </summary>
        public int overid { get; set; }

        /// <summary>
        /// 栋舍
        /// </summary>
        public string? Ridgepole { get; set; }

        /// <summary>
        /// 栏位
        /// </summary>
        public string? Gield { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }

        /// <summary>
        /// 阶段
        /// </summary>
        public string? Stage { get; set; }

        /// <summary>
        /// 采购员
        /// </summary>
        public int Buyer { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int Warehouse { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? Productname { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public int Storagenum { get; set; }

        /// <summary>
        /// 调整数量
        /// </summary>
        public int Regulatenum { get; set; }

        /// <summary>
        /// 结算数量
        /// </summary>
        public int Accountnum { get; set; }

        /// <summary>
        /// 只均单价（元）
        /// </summary>
        public decimal Onlyprice { get; set; }

        /// <summary>
        /// 金额（元）
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 单位折扣
        /// </summary>
        public decimal Unitdiscount { get; set; }

        /// <summary>
        /// 结算金额（元）
        /// </summary>
        public decimal Accountmoney { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? Addpeople { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime AddDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? Exitpeople { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Exitdate { get; set; } = DateTime.Now;

        /// <summary>
        /// 审核人
        /// </summary>
        public string? Auditorpeople { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime Auditordate { get; set; } = DateTime.Now;

        /// <summary>
        /// 标包
        /// </summary>
        public string? Signbag { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string? Measuringunit { get; set; }

        /// <summary>
        /// 总重量
        /// </summary>
        public int TotalWeight { get; set; }
    }
}
